package com.flower.domain.entity.productSpecs;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;
import java.io.Serializable;
import java.util.List;

/**
 * (ShopAttributeKey)实体类
 *
 * @author 李星河
 * @date 2023-05-08 21:28:39
 */
@Data
@TableName("shop_attribute_key")
@AllArgsConstructor
@NoArgsConstructor
public class AttributeKey implements Serializable {
    private static final long serialVersionUID = 717926968261291340L;

    /**
     * 属性key表编号
     */
    private Integer id;
    /**
     * 商品分类编号
     */
    private Long cateId;
    /**
     * 属性名
     */
    private String attributeName;
    /**
     * 属性排序
     */
    private Integer nameSort;
    /**
     * 创建时间
     */
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;
    /**
     * 修改时间
     */
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;
    /**
     * 是否删除
     */
    private Integer isDel;

    @TableField(exist = false)
    private List<AttributeValue> attributeValueList;

}

